import request from '@/utils/request'

// 验证授权码
export function validateAuthorization(data) {
  return request({
    url: '/system/auth/validate',
    method: 'post',
    data: data
  })
}

// 获取授权信息
export function getAuthorizationInfo() {
  return request({
    url: '/system/auth/info',
    method: 'get'
  })
}
